﻿namespace AbstractFactoryPatterDemo
{
    /// <summary>
    /// 抽象类角色
    /// 创建抽象产品系列(产品族:多个产品)
    /// </summary>
    public abstract class AbstractFactory
    {
        /// <summary>
        /// 创建产品族中A
        /// </summary>
        /// <returns></returns>
        public abstract AbstractProductA CreateProductA();

        /// <summary>
        /// 创建产品族中B
        /// </summary>
        /// <returns></returns>
        public abstract AbstractProductB CreateProductB();
    }
}